powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations
authorBen Hutchings <ben@decadent.org.uk>
Fri, 2 Dec 2016 01:26:54 +0000 (01:26 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 19 Jun 2017 23:25:45 +0000 (00:25 +0100)
Add declarations for:
- __mfdcr, __mtdcr (if CONFIG_PPC_DCR_NATIVE=y; through <asm/dcr.h>)
- switch_mmu_context (if CONFIG_PPC_BOOK3S_64=n; through <asm/mmu_context.h>)
- _mcount (if CONFIG_FUNCTION_TRACER=y; though <asm/ftrace.h>)

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/powerpc
Gbp-Pq: Name powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch

arch/powerpc/include/asm/asm-prototypes.h

index f6c5264287e533bbfbc064eb14346bbb146d67c1..147cdd07e2fd70ab62865c4b3ba6471ddaa5000a 100644 (file)
@@ -17,6 +17,9 @@
 #include <asm/checksum.h>
 #include <linux/uaccess.h>
 #include <asm/epapr_hcalls.h>
+#include <asm/dcr.h>
+#include <asm/mmu_context.h>
+#include <asm/ftrace.h>
 
 #include <uapi/asm/ucontext.h>